{% extends "product/base.html" %}{% load i18n %} 
{% block title %}{% trans "Product title" %}
{% if product %}{{product.name}}{% endif %}
{% endblock %}
{% block content %}
<div>
	{% if product %}
	<div>
		<table>
			<tbody>
				<tr>
					<td>
						{% trans "product name:" %}
					</td>
					<td>
						{{product.name}}
					</td>
				</tr>
				<tr>
					<td>
						{% trans "product marketPrice:" %}
					</td>
					<td>
						{{product.marketPrice}}
					</td>
				</tr>
				<tr>
					<td>
						{% trans "product imagePath:" %}
					</td>
					<td>
						<img src="/img/{{product.imagePath}}" border="1" />
					</td>
				</tr>
				<tr>
					<td>
						{% trans "product introducation:" %}
					</td>
					<td>
						{{product.introducation}}
					</td>
				</tr>
				<tr>
					<td>
						{% trans "product category:" %}
					</td>
					<td>
						{{product.category.get_category_chain}}
					</td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="box">
		<a href="/order/list/product/{{product.id}}/">{% trans "product Orders" %}</a>
	</div>
	{% endif %}
</div>
{% endblock %}
